Black generation method for CMYK color printer using multiple lookup tables and interpolation

ABSTRACT

A method of determining colorant amounts to be laid down in a color printer includes determining an initial set of cyan, magenta and yellow (CMY) values; ordering the initial set of CMY values to determine the largest, middle and smallest values of the three values and generating an ordering vector; selecting a gamut center black generation LUT and two gamut boundary black generation LUTs from a set of black generation LUTs from a selection table; indexing the selected black generation LUTs to determine black values for each black generation LUT as a function of the minimum of the CMY values; interpolating a final output black colorant amount from the black values, and interpolating final output CMY colorant amounts from the TO initial set of CMY values, the maximum CMY ink limit constraint, and a set of boundary threshold values.

FIELD OF THE INVENTION

[0001] This invention relates to black generation techniques in CMYK color printers. Such printers lay down four kind of inks, or colorants: cyan (C), magenta (M), yellow (Y), and black (K), where black is used to enhance the shadow details of the printed images.

BACKGROUND OF THE INVENTION

[0002] In general, cyan, magenta, and yellow inks, or colorants, cannot produce a high quality black image when combined. To enhance the shadow details of printed images, and to save non-black colorants, a fourth color, black (K), also referred to herein as “key,” is used. However, with the addition of black, many colors may be produced by using multiple sets of C, M, Y and K. The goal, therefore, is to find a way to optimally use C, M, Y and K.

[0003] The prior art teaches two primary approaches for achieving this goal. one approach is to use a black generation curve and three under color removal (UCR) curves. An example of such a set of curves is shown generally at 20 in FIG. 1. In the example of FIG. 1, a magenta UCR curve 22 and yellow UCR curve 24 happen to follow the same points. A cyan UCR curve is depicted at 26, while the black generation curve is depicted at 28. These curves are usually implemented as I-D lookup tables (LUTs), where the input of the curve is used as an index to the LUTs to obtain the outputs of the curves. A desired color, in the red, green, and blue (RGB) color space, to be printed is first converted to initial C, M, and Y colorant amounts using on the following equations, which are somewhat simplified for purposes of illustration:

C _(i)=1.0−R, M ₁=1.0−G, and Y ₁=1.0−B,  (1)

[0004] where RGB and CMY values are normalized to the range between 0.0 and 10. The minimum of these initial CMY values, k₁=min(C₁, K_(i), Y_(i)), is used as the index to the 1-D LUT for the black generation curve, BG(k), to obtain the output K amount, as shown in Eq. 2:

K=BG(k _(i)).  (2)

[0005] With the addition of K, the output CMY colorants should be appropriately reduced to produce the desired color. This is accomplished by using the three UCR curves for C, M, and Y, respectively, as shown in Eq. 3:

C=C _(i) −UCR _(C)(k ₁), M=M _(i) −UCR _(M)(k ₁), and YY ₁ −UCR _(Y)(k _(t)).  (3)

[0006] The black generation and UCR curves are experimentally obtained for different printing processes. This basic approach, however, is not flexible enough to fuilly utilize the printer color gamut resulting from the addition of the K colorant.

[0007] Another approach is to use interpolation between the maximum black CMYK and the minimum black CMYK to obtain a desired CMYK. For any given color, i.e., a CIELAB value, there is a range of K values that is possible in the CMYK combination of colorants to produce that color. The lower limit is referred to as K_(min), and the upper limit is referred to a K_(max). A value of K is chosen between these limits, which allows black usage to change throughout the tone scale and color space. A flow chart for this approach is shown in FIG. 2, generally at 30. In this approach, the CMYK printer gamut is divided into a set of CMY gamuts indexed by the K amount. This set of CMY gamuts may be obtained by printing out an extensive set of CMYK patches and then measure them in a device independent color space, such as the CIELAB For a desired color specified in the CIELAB space, all possible CMYK combinations are obtained by 3-D interpolations using this set of CMY gamuts. The final CMYK amounts are obtained by interpolating these CMYK values using a fixed weight, a. This weighting factor controls the desired amount of black to be used. It may be changed depending on the nature of the color to be printed. For example, colors near the neutral axis will have a higher weight for black while more saturated colors will use less black because they will have a lower weight. In most implementations, only CMYK values with the maximum (α=1) and minimum (α=0) K amount are used.

[0008] The traditional UCR type of black generation technique is well known in the art. It is discussed in J. A. C. Yule, Principles of Color Reproduction, John Wiley & Sons, New York, 1967. It is also implemented in the PostScript® Language by Adobe Systems Inc., which is described in PostScript®Language Reference Manual, Second Edition, 1990. The newer method of interpolating between CMYK values with maximum and minimum K is discussed in M. Tsukada, et al., New Algorithm for UCR Using Direct Color Mapping, Proceedings of SPIE, Vol. 2413, pp. 365-374, February 1995; and R. Holub et al., The Black Printer, Journal of Imaging Technology, Vol. 15, No. 4, pp. 149-158, August 1989.

[0009] U.S. Pat. No. 4,482,917 to Gaulke et al., for Method for a Reproduction of Colored Masters in Four-Color Printing Using Color Reduction, granted Nov. 13, 1984, describes a method wherein the color gamut is divided into a gray and a chromatic region. Different UCR curves are used for the gray and chromatic regions. For colors on the boundary dividing the gray and chromatic regions, CMYK values obtained using both curves are combined to produce a single set of CMYK values for that color.

[0010] U.S. Pat. No. 4,551,751, to Jung, for Color Reduction Dependent on Tone, granted Nov. 5, 1985; and U.S. Pat. No. 4,590,515, to Wellendorf for Method and Apparatus for Modifying Color Reduction Depending on Tone, granted May 20, 1986, both describe the use of different UCR curves for image areas with different tone characteristics.

[0011] U.S. Pat. No. 5,172,223, to A. Suzuki, et al., for Method of Processing a Color Image to Obtain Color and Black Reproduction Signals, granted Dec. 15, 1992, describes the use of quadratic functions as the UCR curves. In addition to applying the UCR curves, a 3×3 matrix is also used to convert the input CMY values to the output CMY values.

[0012] U.S. Pat. No. 5,268,754 to Van de Capelle, et al., for Method and a Device for converting a Color Coordinate Set, granted Dec. 7, 1993, describes a general strategy to convert signals in an n-dimensional color space to an m-dimensional color space. The case of m=4 is applicable to generating CMYK signals for four-color printers. Rather complex methods involving gradients are described. For methods specific to CMYK printers, only the basic UCR type of techniques is discussed.

[0013] U.S. Pat. No. 5,305,119, to R. J. Rolleston et al., for Color Printer Calibration Architectitie, granted Apr. 19, 1994, and U.S. Pat. No. 5,528,386, granted Jun. 18, 1996, to R. J. Rolleston, et al., for Color Printer Calibration Architecture, describe a general CMYK printer color table generation process. Black generation using a UCR method is discussed as part of the overall printer calibration system. The traditional UCR method is used.

[0014] U.S. Pat. No. 5,402,253 to Seki, for Color Conversion Method aid Apparatus with a Variable Gray Component Replacement Ratio, granted March 28, 1995, and U.S. Pat. No. 5,502,579 to Kita, et al., for Color Image Processing Method and Apparatus Capable of Adjusting the UCR Ratio, granted Marc. 26, 1996, describe the use of device independent color values such as the CIELAB and LCH values to modify the black generation and UCR curves.

[0015] U.S. Pat. No. 5,425,134 to Ishida, for Print Color Material Amount Determining Method, granted Jun. 13, 1995, describes a method wherein a range of all the CMYK colorants that can produce a desired color is first obtained. A complex algorithm is then used to determine the common range of CMYK values which produce all of the desired colors. The final CMYK colorants for a particular color are selected from the common range.

[0016] U.S. Pat. No. 5,508,827 to Po-Chien, for Color Separation Processing Method and Apparatus for a Four Color Printer Using Color Solid Corresponding to Tristimulus values, granted Apr. 16, 1996, describes the determination of CMYK values with maximum and minimum possible K. Then linear interpolation is used to obtain the final CMYK values based on the desired K amount.

[0017] U S. Pat. No. 5,553,199 to Spaulding, et al., for Method and Apparatus for Calibrating a Four Color Printer, granted Sep. 3, 1996, describes the development of a maximum K strategy and a minimum K strategy. The strategies are implemented by 3-D interpolations. For input CMY values, the maximum and minimum K strategies are used to generate two CMYK sets. Then a parameter indicating the desired K amount is used to interpolate these two CMYK sets to obtain the final CMYK values.

[0018] U.S. Pat. No. 5,710,824 to Mongeon, for System to Improve Printer Gamut, granted Jan. 20, 1998, describes the use of both the maximum and minimum input CMY values to control the K usage. A non-linear function is used to control the K addition based on the primary colorant amount.

SUMMARY OF THE INVENTION

[0019] A method of determining colorant amounts to be laid down in a color printer includes determining an initial set of cyan, magenta and yellow (CMY) values; ordering the initial set of CMY values to determine the largest, middle and smallest values of the three values and generating an ordering vector; selecting a gamut center black generation LUT and two gamut boundary black generation LUTs from a set of black generation LUTs; indexing the selected black generation LUTs to determine black values for each black generation LUT as a function of the minimum of the CMY values; interpolating the final output black colorant amount from the black values; and interpolating the final output CMY colorant amounts from the initial set of CMY values, the maximum CMY ink limit constraint, and a set of boundary threshold values.

[0020] An object of the invention is to provide a method wherein interpolation over the entire printer input color gamut is used to control the amount of C, M, Y, and K to be printed.

[0021] Another object of the invention is to provide a method wherein the final CMYK amount is obtained by interpolation based on black generation curves.

[0022] A further object of the invention is to provide procedures for optimally generating black generation curves to maximize the printing gamut.

[0023] Another object of the invention is to automatically control black usage by the black generation curves inside and on the boundary of the printer input color gamut.

[0024] This summary and objectives of the invention are provided to enable quick comprehension of the nature of the invention. A more thorough understanding of the invention may be obtained by reference to the following detailed description of the preferred embodiment of the invention in connection with the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0025]FIG. 1 depicts prior art black generation and under color removal (UCR) curves

[0026]FIG. 2 is a flow chart for prior art techniques which interpolate between CMYK values with the maximum and minimum black value to obtain the final output CMYK values.

[0027]FIG. 3 is a block diagram of a system incorporating the black generation method of the invention.

[0028]FIG. 4 depicts a printer input CMY cube.

[0029]FIG. 5 depicts a collection of gamut pieces bounded by white, black, and cyan in the CIELAB space for different K amounts.

[0030]FIG. 6 is a graph of the response functions for the output CMY versus the input of equal M and Y on the cyan to black boundary.

[0031]FIG. 7a-f depict the tetrahedra which define regions for color gamut interpolation.

[0032]FIG. 8 depicts a tetrahedron in the re-ordered coordinate system.

[0033]FIG. 9 is a block diagram of the invention.

[0034]FIG. 10 depicts a L versus K curve.

[0035]FIG. 11 depicts a family of L versus equal output CMY curves for determining the black generation LUT at the center diagonal.

[0036]FIG. 12 depicts a modified black generation curve at the center diagonal where the input axis is the output CMY values.

[0037]FIG. 13 depicts the criteria for design of a cyan boundary black generation curve.

[0038]FIG. 14 depicts the construction of a cyan boundary black generation LUT from a tone reproduction curve (TRC).

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0039] There are three subtractive primaries usually used in printing devices Cyan, Magenta and Yellow. All hues can be generated by these colorants, but additional colorants may be used to extend the color gamut beyond that of use of CMY only. The most common colorant used is black.

[0040] This disclosure considers a CMYK printer. The term “printer input color gamut” refers to the CMY primaries and the term “printer output color gamut” refers to the set of colors obtainable using black (K) colorant.

[0041] Adding K to CMY lowers the L* value of the resulting color, so some amount of CIMY must be removed. The term undercolor removal (UCR) defines the reduction of CMY amounts along a neutral scale, while the term gray component replacement (GCR) defines the reduction of CMY amounts throughout the entire gamut of the printer. There are other schemes used to increase gamut in select areas, and one of these is referred to as undercolor addition (UCA). UCA is the addition of K in the darkest areas of the images and adds detail in the shadow regions.

[0042] Put another way, the typical GCR/UCR strategy is to define X=min(C, M, Y) and have K=f(X). Then C′=C−g(X), etc., where f and g are functions that are addressed in this disclosure, and are designed for optimizing the attributes of gamut, ink usage, neutral consistency, granularity, etc. This disclosure focuses on a form of GCR.

[0043] The invention generates a black, or key, colorant for CMYK color printers to maximize the gamut of the printer. In general, cyan (C), magenta (M), and yellow (Y) colorants, or inks, when combined, cannot produce a true black, and produce only a dark brownish color. To enhance shadow details of a printed image, a fourth colorant, black (K), is used. With the addition of black, many colors may be produced by multiple sets of C, M, Y, and K This invention provides an optimal way to use CMY and K with the objective of maximizing the printer gamut, thereby using the best set of any multiple sets to produce a particular color.

[0044] This invention uses interpolation over the entire printer input color space to control the amount of C, M, Y, and K colorant applied in generating a desired color. For each color, similar to the aforementioned UCR-based methods, the invention begins with an initial set of CMY values, C_(i), M_(i) and Y_(i), and then determines the final CMYK amounts. The minimum of this initial CMY amount is also used as one of the parameters to control the black generation.

[0045] An advantage of the invention is that in addition to a black generation LUT, used in the center of the printer input gamut, where C_(i)=M_(i)=Y_(i), referred to herein as the “gamut center black generation LUT,” multiple black generation LUTs are used on the boundary of the gamut, where max(C_(i), M_(i), Y_(i))=1.0, to control the final CMYK amount, referred to herein as the “gamut boundary black generation LUTs.” Put another way, at least one, and not more than two, of the C_(i), M_(i), Y_(i) values=1.0, and at least one of the C_(i), M_(i), Y_(i) values=zero. The gamut center black generation LUT and the gamut boundary black generation LUTs comprise what is referred to herein as a “black generation LUT set.” The final CMYK amount is obtained by interpolation based on the black generation LUT set. Specific procedures are described later herein for optimally generating the black generation LUT set to maximize the printer output gamut.

[0046] A system incorporating the method of the invention is depicted in FIG. 3, generally at 32, The method of the invention is an extension of the traditional UCR method which includes the use of additional black generation curves on the boundary of the input color cube. The black generation scheme over the entire input color space is provided by interpolation using the boundary black generation curves and the black generation curve at the center of the color cube. This provides more flexible control of the black generation strategy over the entire input color space. Linear interpolations use different weighting factors based on the spatial coordinate of the input color 34, which controls the amount of black being used, and which are different from those used in the prior art techniques. The method of the invention solves the problem of converting a generic device RGB or CMY color space into a CMYK space. In order to obtain the CMYK values for input colors specified in a device-independent color space, such as the CIELAB space, a 3D-color table is generated for the input RGB, or CMY, space. Color table 36 may be combined with a black generation process 38 of the invention to generate a combined color LUT 40 in order to convert colors specified in a device-independent color space directly to CMYK device values 42.

[0047] Algorithm Description

[0048]FIG. 4 depicts the initial CMY input color space as the CMY cube, generally at 50, and illustrates the method of the invention for determining the output CMYK values using the black generation LUT at a central diagonal and the C-to-black boundary of the cube A triangular plane, or surface, 52, connected by vertices “White”, “Black”, and “C,” is used to illustrate the basic algorithm of the invention. It should be noted that while vector quantities are generally shown in italicized or bolded font, normal fonts have been used herein for the sake of clarity. Those of ordinary skill in the art will readily recognize that many of the quantities here are vector quantities.

[0049] First, the method for obtaining output CMYK values on a center diagonal line 54, also referred to herein as a gamut center black generation curve, connecting “White” and “Black,” is described. In the initial CMY space, points on this line have equal CMY, C_(i),=M_(i)=Y_(i), going from 0.0 (“White”) to 1.0 (“Black). These equal CMY values are denoted as CMY_(i), and will be used as the index to the black generation LUT, BG₀, at center diagonal line 54, to obtain the desired K amount at the center diagonal:

K=BG ₀(CMY _(i)).  (4)

[0050] The output CMY values on center diagonal 54 are equal to one another, but they are scaled by the maximum output CMY amount, CMY_(max). Therefore, the output C, M, or Y values will be:

CMY=CMY ₁ * CMY _(max).  (5)

[0051] There is also a boundary black generation LUT, BG,, on a boundary line 56, also referred to herein as a gamut boundary black generation curve, connecting “C” to “Black.” On line 56, C_(i),=1.0, and M_(i)=Y_(i) goes from 0.0 at “C” to 1.0 at “Black.” The equal MY value is denoted as MY₁, and is used as the index to look up the K amount from the boundary black generation LUT on the cyan-to-black boundary:

K=BG _(c)(MY _(i)).  (6)

[0052] In order to maximize the output printer gamut, after the addition of K on the cyan-to-black boundary, the output M and Y amounts are set to zero, rather than being increased from 0.0 at “C” to 1.0 at “Black.” The reason for this is shown in FIG. 5, generally at 70, where the (yamuts of the triangular plane 52 for different K amount are plotted on a Chroma-L plane at the hue angle of the pure cyan ink, or colorant, in the CIELAB space. If no K is used (K=0), gamut 72 is bounded by a curve from the maximum L value, Lm_(max), to the pure cyan point “C”, and then a curve from “C” to the minimum L value without K, L_(min). As the amount of K increases, this gamut is compressed and shifted down along the L direction, creating gamut pieces 74, 76, and 78, where 78 is the gamut for the maximum output K amount. Generally, adding K causes L* to decrease and c* to decrease, however, the gamut is increased beyond that which would be achieved by increasing a colorant other than K. The maximum gamut boundary is obtained by connecting the outer gamut tips on the right as shown by heavy curve 80. On the tips of these gamut pieces, the C amount is 1.0 and the M and Y amount is 0.0. Therefore, in order to obtain the maximum output gamut, the output M and Y amount should be zero on the boundary from “C” to “Black” and only K should be increased to bring the gamut from pure cyan “C” to the minimum L with K, L_(kmm). In the prior art techniques the gamut is usually less than the maximum allowable, as shown by heavy curve 82.

[0053] However, and now referring to FIG. 4, setting output C=1.0 and M=Y=0.0 on line 56 will create a conflict on the “Black” vertex because, on diagonal line 54, the output C, M, and Y should be equal to one another, and should range from 0.0 at “White” to CMY_(max) at “Black” To ensure the smoothness of the output CMY values on line 56, a threshold T_(C) is used to control transition from equal output CMY, C=M=Y=CMY_(max), at “Black” to C=10 and M=Y=0.0. If the input MY_(i) is greater than T_(c), the output C and MY values will linearly transition from 1.0 and 0.0 to CMY_(max), respectively. Otherwise, they are set to C=10 and M=Y=00. The CMY output responses on line 56 are given by Eqs. 7 and 8: $\begin{matrix} {{{C = {{{\frac{{CMY}_{\max} - 1.0}{1.0 - T_{C}}\left( {{MY}_{i} - T_{C}} \right)} + {1.0\quad {if}\quad {MY}_{i}}} \geq T_{C}}},{otherwise}}\text{}{{C = 1.0},}} & (7) \end{matrix}$

$\begin{matrix} {{{M = {Y = {{\frac{{CMY}_{\max}}{1.0 - T_{C}}\left( {{MY}_{i} - T_{C}} \right)\quad {if}\quad {MY}_{i}} \geq T_{C}}}},{otherwise}}{M = {Y = {0.0.}}}} & (8) \end{matrix}$

[0054] These output responses are also shown in FIG. 6, where dotted line 84 is the C response and solid line 86 is the M and Y response. For simplicity, piece-wise linear functions are used here. Other functions that will gradually bring the output CMY amount from 1.0 for C and 0.0 for M and Y to CMY_(max) may also be used instead of these piece-wise linear functions. The threshold may be experimentally determined and will only affect the colors close to the dark point, which is also called the “shadow area.” In this area of the input color space, output colors will have a large amount of K and changing the output CMY amount will not have a significant affect on the output color gamut.

[0055] Referring again to FIG. 4, an arbitrary point P on triangular plane 52, is projected along the cyan axis to center diagonal 54 and boundary line 56. The projected points on lines 54 and 56 are E and F, respectively. The output CMYK values on points E and F are obtained by the procedure described above. Linear interpolation is then used to obtain the output CMYK on P based on the CMYK values on E and F. In addition to putting a boundary black generation LUT at line 56, additional boundary black generation LUTs may be put at other boundary lines connecting “Black” to a point on a circumference 58, connected by “C”, “G”, “Y”, “R”, “M”, “B”, and then back to “C”, shown as a double line. An example is shown where a boundary black generation LUT is put at line 60, connecting “Black” and point D between “C” and “G.” With this additional black generation LUT, output CMYYK values on triangular plane 62, bounded by “White”, “Black”, and D, may be obtained using the interpolation procedure described for plane 52. Points between planes 52 and 62 may be projected onto planes 52 and 62, then interpolated to obtain the output CMYK values for the desired input point based on the CMYK values on the projections.

[0056] In the preferred embodiment of the invention, six boundary black generation LUTs are used on the boundary lines connecting “Black” to the six vertices on circumference 58. “C”, “G”, “Y”, “R”, “M”, and “B.” As shown in FIGS. 7a-f, the triangular planes bounded by “Black”, “White”, and one of these vertices naturally divide the input CMY cube into six different tetrahedra. The black generation LUTs on the six boundary lines are denoted as BG_(C), BG_(M), BG_(Y), BF_(R), BG_(G) and BG_(B), respectively, according to the names of vertices on circumference 58. Thresholds T_(C), T_(M), T_(Y), T_(R), T_(G) and T_(B), respectively, are also assigned to the six boundary lines to control the smooth transition of the output CMY values to “Black” on these boundary lines. For an arbitrary input point, P, the tetrahedron that encloses the point may be obtained from the ordering information obtained by sorting the input CMY vector. Once the tetrahedron is determined, interpolation based on the center diagonal black generation LUT, BG₀, and two of the boundary LUTs on the tetrahedron may be used to obtain the output CMYK values for the input point. In the case that the input point is on one of the six triangular planes that divide the input CMY cube into six tetrahedra, then either tetrahedron that shares this plane may be used and the output CMYK values will be the same no matter which one is used.

[0057]FIG. 8 depicts the tetrahedron in the re-ordered coordinate system, where the input CMY vector is sorted into descending order (v_(l), v_(m), v_(s)), v_(l)≧v_(m)≧v_(s). In this coordinate system, axis V₁ is the axis for the largest component, axis V₂ is for the middle component, and axis V₃ is for the smallest component. The smallest component, v_(s), is used to index into the black generation LUT, BG₀, at the center diagonal, and boundary black generation LUTs, BG₁ and BG₂ at boundary lines B₁A and B₂A, respectively. The output of these black generation LUTs will be the output K values at points C₀, C₁, and C₂, respectively:

k ^((c0)) =BG ₀(v _(s)), k^((c1)) =BG ₁(v _(s)), and k ^((c2)) =BG ₂(v _(s)).  (9)

[0058] The thresholds on lines B₁A and B₂A for the smooth transition of the output CMY values to the “Black ” point are denoted as T₁ and T₂, respectively. The re-ordered output CMY values on C₀ may be obtained with Eq. 5:

(v ₁ ^((C0)) , V ₂ ^((C0)) , v ₃ ^((C0)))=(v _(s) , v _(s) , v _(sl )*CMY) _(max).  (10)

[0059] The re-ordered output CMY values at C₁ may be obtained by Eqs. 7 and 8 by recognizing that the C, M, and Y components in those equations should be replaced by the largest, middle, and smallest components, respectively: $\begin{matrix} {{{v_{1}^{({C\quad 1})} = {{{\frac{{CMY}_{\max} - 1.0}{1.0 - T_{1}}\left( {v_{s} - T_{1}} \right)} + {1.0\quad {if}\quad v_{s}}} \geq T_{1}}},{otherwise}}{{v_{1}^{({C\quad 1})} = 1.0},{and}}} & (11) \\ {{{v_{2}^{({C\quad 1})} = {v_{3}^{({C\quad 1})} = {{\frac{{CMY}_{\max}}{1.0 - T_{1}}\left( {v_{s} - T_{1}} \right)\quad {if}\quad v_{s}} \geq T_{1}}}},{otherwise}}{v_{2}^{({C\quad 1})} = {v_{3}^{({C\quad 1})} = {0.0.}}}} & (12) \end{matrix}$

[0060] Because the re-ordered input CMY vector at vertex B₂ is (1.0, 1.0, 0.0), the re-ordered output CMY values on boundary line B₂A should smoothly transition from (1.0, 1.0, 0.0) at B₂ to (CMY_(max), CMY_(max), CMY_(max)) at A, or “Black.” Therefore, the reordered output CMY values at may be written as: $\begin{matrix} {{{{v_{1}^{({C\quad 2})} = {v_{2}^{({C\quad 2})} = {{{\frac{{CMY}_{\max} - 1.0}{1.0 - T_{2}}\left( {v_{s} - T_{2}} \right)} + {1.0\quad {if}\quad v_{s}}} \geq T_{2}}}},{otherwise}}v_{1}^{({C\quad 2})} = {v_{2}^{({C\quad 2})} = 1.0}},{and}} & (13) \\ {{{v_{3}^{({C\quad 2})} = {{\frac{{CMY}_{\max}}{1.0 - T_{2}}\left( {v_{s} - T_{2}} \right)\quad {if}\quad v_{s}} \geq T_{2}}},{otherwise}}{v_{3}^{({C\quad 2})} = {0.0.}}} & (14) \end{matrix}$

V ₃ ^((C2))=0.0.

[0061] By projecting the input point P along axis V₂ on the plane perpendicular to axis V₃, intersections D₁ and D₂ are obtained on lines C₀C₁ and C₀C₂, respectively. Using linear interpolation, the re-ordered output CMYK values on the intersection points may be obtained by:

(v ₁ ^((D1)) , v ₂ ^((D1)) , V ₃ ^((D1)) , k ^((D1)))=(1−w ₁)*(v ₁ ^((C0)) , v ₂ ^((C0)) , v ₃ ^((C0)) , k ^((c0)))+W ₁*(v ₁ ^((C1)) , v ₂ ^((C1)) , v ₃ ^((C1)) , k ^((C1))),  (15)

[0062] and

(v ₁ ^((D2)) , v ₂ ^((D2)) , v ₃ ^((D2)) , k ^((D2)))=(1−w ₁)*(v ₁ ^((C0)) , v ₂ ^((C0)) , v ₃ ^((C0)) , k ^((C0)))+w ₁*(v ₁ ^((C2)) , v ₂ ^((C2)) , v ₃ ^((C2)) , k ^((C2))),  (16)

[0063] where the weighting factor w₁ is given by: $\begin{matrix} {w_{1} = {\frac{v_{1} - v_{s}}{1.0 - v_{s}}.}} & (17) \end{matrix}$

[0064] The final re-ordered CMYK values at P are then interpolated from those on D₁ and D₂,

(v ₁ , V ₂ , V ₃ , K)=(1−w ₂)*(v ₁ ^((D1)) , v ₂ ^((D1)) , v ₃ ^((D1)) , k ^((D1)))+w ₂*(V ₁ ^((D2)) , V ₂ ^((D2)) , V ₃ ^((D2)) , k ^((D2))),  (18)

[0065] where (v₁, v₂, v₃) is the re-ordered output CMY vector and K is the output K value The weighting factor w₂ is given by: $\begin{matrix} {w_{2} = {\frac{v_{m} - v_{s}}{v_{1} - v_{s}}.}} & (19) \end{matrix}$

[0066] A complete block diagram of the invention is shown in FIG. 9, generally at 90. The initial input CMY values 92 are first processed by a “Sorter” block 94 to obtain vectors in descending order, (v₁, v_(m), v_(s)), v₁≧v_(m)≧v_(s), and the ordering information V. The ordering information is then used as an input to the “BG Curve Selector and 1-D Table Lookup,” block 96, to obtain the appropriate black generation LUTs. This process is equivalent to identifying the tetrahedron that encloses the input CMY vector. The black generation LUT at the center diagonal, BG₀, is always selected. Then two more black generation LUTs on the boundary lines, BG₁ and BG₂, are also selected. The selection process for boundary black generation LUTs is shown in Table 1. TABLE 1 Ordering Information Boundary LUTs Selected C_(i) ≧ M_(i) ≧ Y_(i) BG₁ = BG_(C) and BG₂ = BG_(B) C_(i) ≧ Y_(i) ≧ M_(i) BG₁ = BG_(C) and BG₂ = BG_(G) M_(i) ≧ C_(i) ≧ Y_(i) BG₁ = BG_(M) and BG₂ = BG_(B) M_(i) ≧ Y_(i) ≧ C_(i) BG₁ = BG_(M) and BG₂ = BG_(R) Y_(i) ≧ C_(i) ≧ M_(i) BG₁ = BG_(Y) and BG₂ = BG_(G) Y_(i) ≧ M_(i) ≧ C_(i) BG₁ = BG_(Y) and BG₂ = BG_(R)

[0067] The smallest of the input CMY values, v_(s), is also an input to block 96. It is used to index the selected black generation curves to obtain output K values at points C₀, C₁, and C₂, as shown in Eq. 9. A “weight generator,” block 98 generates weighting factors w₁ and w₂ based on Eqs. 17 and 19. These weights are used in the “K Interpolator,” block 100 to obtain the final output K amount 101. The interpolation formulas are Eqs. 15, 16, and 18 for the K component. In the “CMY Interpolator,” block 102, boundary thresholds T₁ and T₂ are selected from block 104, based on Table 2. TABLE 2 Ordering Information Boundary Thresholds Selected C_(i) ≧ M_(i) ≧ Y_(i) T₁ = T_(C) and T₂ = T_(B) C_(i) ≧ Y_(i) ≧ M_(i) T₁ = T_(C) and T₂ = T_(G) M_(i) ≧ C_(i) ≧ Y_(i) T₁ = T_(M) and T₂ = T_(B) M_(i) ≧ Y_(i) ≧ C_(i) T₁ = T_(M) and T₂ = T_(R) Y_(i) ≧ C_(i) ≧ M_(i) T₁ = T_(Y) and T₂ = T_(G) Y_(i) ≧ M_(i) ≧ C_(i) T₁ = T_(Y) and T₂ = T_(R)

[0068] The reordered CMY output values at points, C₀, C₁ and C₂ are obtained by Eqs. 10-14. With the weighting factors from weight generator 98, the re-ordered output CMY values are obtained by Eqs 15, 16, and 18. Finally, the ordering information, V, is used to convert the reordered output CMY values into the correct output CMY values 106.

[0069] Design Parameters

[0070] The first design parameter to be determined is the maximum output K amount, K_(max) Ideally, color patches having maximum CMY amount (C=M=Y=1.0) and K changes from 0.0 to 1.0, would be printed, however, this is not a viable solution for most technologies. Color patches having known CMY values may be printed to form a base line. The L response of these color patches is measured. A typical L versus K plot is shown in FIG. 10, generally at 110. From this plot, it may be seen that after a certain K threshold, increasing K will not make the image significantly darker. This threshold is defined as K_(max).

[0071] Next, the center black generation LUT, BG₀, is designed. Referring now to FIG. 11, after obtaining the maximum K amount, a two dimensional array of color patches is printed, where the K value goes from K₁=0.0 to K_(n)=K_(max), and equal CMY values range from 0.0 to 1.0. After measuring the L responses from the color patches, the data is plotted as a family of L versus CMY curves, shown generally at 112, indexed by K ranging from 0.0 to K_(max). From this family of L versus CMY curves, a single L versus CMY curve with a variable amount of K may To be designed. The intersections of such a curve with the family of L versus CMY curves provide the K versus CMY curve. Three such curves presenting three different black generation strategies are shown by curves 114, 116 and 118. In curve 118, the maximum output CMY values reach 1.0, and the curve is flatter in the shadow area (small L value) compared to the other two curves. This is the case where the output CMY amount is not reduced even when K is used to provide better shadow details. As shown by curve 114, the maximum output CMY values only reach as far as the point where the minimum L values, L_(kmin), are maintained. This is the case where the output CMY amount is reduced as much as possible when K is used. Because the slope in the shadow area is not as flat as that of curve 118, the shadow details in this case are not as good. However, because the output CMY amount is significantly reduced with the addition of K, this saves ink. A case between these two extremes is shown by curve 116, in the middle, where the maximum output CMY amount may be constrained by the total ink limitation. The total ink limitation, M_(ink), is the total amount of CMYK ink allowed to be put on paper. This is usually less than 400% or 4.0 in the normalized notation. With M_(ink) and K_(max), the maximum output CMY amount is obtained by: $\begin{matrix} {{CMY}_{\max} = {{\min \left( {1.0,\frac{M_{ink} - K_{\max}}{3}} \right)}.}} & (20) \end{matrix}$

[0072] The intersections of curve 116 with the family of L versus CMY curves are shown as P₁, P₂, . . . P_(n−1), P_(n), in FIG. 11. These points may be plotted in a K versus CMY graph, as shown in FIG. 12, where the value for the vertical axis, L, is replaced by the index of the curves, K. The K versus CMY curves, 120 and 122, correspond to curves 116 and 118 in FIG. 11, respectively. The K versus CMY plot, labeled BG₀ ^((s)) in FIG. 12, depicts the relationship between the output black values and the output CMY values. Using the relation between the output and input CMY values at the center diagonal, as shown in Eq. 5, the center black generation LUT may be obtained by:

BG ₀(CMY ₁)=BG ₀ ^((s))(CMY ₁ *CMY _(max)).  (21)

[0073] The final step of the parameter design process of this invention is to design the boundary black generation LUTs and determine the boundary threshold values at the six boundary lines of the input CMY cube. The cyan-to-black boundary is used to illustrate how to design the LUT and determine the threshold. The same design procedure may be applied to other boundaries

[0074]FIG. 13a depicts the input cyan triangular plane, generally at 130, and its output gamut in the CIELAB space, generally at 140 in FIG. 13b. In the cyan plane, line segments parallel to the C₁ axis, 132, 134, 136, and 138, are distributed along the M_(i)=Y_(i) direction. The segments are distributed in such a way that intersection points of these line segments and the central diagonal line from “White” to “Black” are uniformly distributed on the L axis in the CIELAB space.

[0075] As shown in FIG. 13b, the four points on the L axis equally divide the line segment from L_(kmin) to L_(max) into five parts. The distance between each point pair is DL₀. Line segments 132, 134, 136, and 138 also translate into curves 142, 144, 146, and 148, respectively, in the CIELAB space. The black generation LUT on the cyan-to-black boundary, BG₀, determines the distribution of the intersection points of the curve segments and the boundary curve from “C” to “Black” in the CIELAB space. In the method of the invention, the design criterion for BG_(C) is that the intersection points on the boundary are also uniformly distributed from “C” to “Black” in the CIELAB space. If the distance between a pair of points on the boundary in the CIELAB space is DL_(C), then this criterion may be written as: $\begin{matrix} {{\frac{{DL}_{0}}{L_{\max} - L_{k\quad \min}} = \frac{{DL}_{C}}{L_{C} - L_{k\quad \min}}},} & (22) \end{matrix}$

[0076] where L_(C) is the L value of the pure cyan colorant.

[0077] To design the boundary black generation LUTs, the L versus equal CMY input at the center diagonal needs to be determined. Because the black generation LUT at the center diagonal, BG₀, is already known, the output CMYK values on the center diagonal may be obtained by inputting equal CMY values to Eqs. 4 and 5. By printing out color patches with these output CMYK values and measuring their L values, the L versus CMY response may be obtained. This response is shown in Quadrant IV of FIG. 14, which is used to illustrate the method of obtaining the boundary black generation LUT on the cyan-to-black boundary, BG_(C). This curve is called the tone reproduction curve (TRC) at the center diagonal, denoted as TRC₀. Another response required for obtaining BG_(C) is the L versus K curve on the cyan-to-black boundary. To obtain this curve, color patches with the K amount going from 0.0 to K_(max) and the corresponding CMY amount need to be printed and measured. On the cyan-to-black boundary, the CMY amount corresponding to the K amount is given by Eq. 23 and 24: $\begin{matrix} {{{C = {{{\frac{{CMY}_{\max} - 1.0}{1.0 - K_{C}}\left( {K - K_{C}} \right)} + {1.0\quad {if}\quad K}} \geq K_{C}}},{otherwise}}{{C = 1.0},{and}}} & (23) \\ {{{M = {Y = {{\frac{{CMY}_{\max}}{1.0 - K_{C}}\left( {K - K_{C}} \right)\quad {if}\quad K} \geq K_{C}}}},{otherwise}}{{M = {Y = 0.0}},}} & (24) \end{matrix}$

M=Y=0.0,

[0078] where K_(C) is the threshold for the smooth transition of the output CMY values from C=10 and M=Y=0.0 on the cyan boundary to C=M=Y=CMY_(max) at the black point. This threshold is usually set to something between 0.1 to 0. 2, or 10% to 20%, and is later converted to the threshold for the input M and Y values on the cyan boundary, T_(C). The L versus K response on the cyan boundary is the measured L values on these color patches plotted against the input K values as shown in Quadrant II of FIG. 14. This L versus K response curve is denoted as LKR_(C).

[0079]FIG. 14 depicts a method of constructing the cyan boundary black generation LUT, BG_(C), from the TRC on the center diagonal, TRC₀, and the L versus K response, LKR_(C), at the cyan boundary. The cyan boundary black generation LUT, BG_(C), and the TRC on the center diagonal, TRC₀, share the same input axis of M=Y, which is the same as the minimum of CMY on the cyan boundary. As shown in FIG. 14, BG_(C) in Quadrant I, may be constructed by starting with an input value, at point A, on the min(C_(i), M_(i), Y_(i)) axis. The output L value on the center diagonal for this input value, point B, is obtained by projecting it vertically downward to the TRC₀ curve in Quadrant IV. The output of the TRC₀ curve is then horizontally projected leftward to the linear scaling curve in Quadrant III. The linear scaling curve is used to scale the output range of TRC₀ into the output range of LKR_(C). The output of the linear scaling, point C, is vertically projected upward to the output of LKR_(C) in Quadrant II to obtain point D The input K amount obtained from LKR_(C) at point D will be the output K amount for BG_(C). By projecting point D horizontally rightward and point A vertically upward, point E on BG_(C) is obtained. The curve shown in Quadrant I is the constructed BG_(C) curve. As shown in FIG. 14, the constraint in Eq. 22 is satisfied in this construction process.

[0080] After BG_(C) is obtained, threshold K, is projected horizontally rightward to BG_(C) and the corresponding value on the horizontal axis, T_(C), will be the threshold on the cyan-to-black boundary. Some approximation is used here. Because black generation curve BG_(C) is not a straight line between the input range from T_(C) to 1.0, the linear relationship in Eqs. 23 and 24 in terms of K will not translate into linear relationship in terms of min(C_(i), M_(i), Y_(i)), which means that the piece-wise linear functions in Eqs. 7 and 8, and in 11 and 12, are only approximations. Because the output CMYK colors in this area of the gamut are dominated by K, such approximations will only minimally affect the appearance of the final output color The procedure for obtaining BG_(C) and T_(C) on the cyan-to-black boundary may be used to obtain the black generation LUTs and thresholds on other boundaries. This procedure may also be summarized by Eqs. 25 and 26: $\begin{matrix} {{{{BG}_{N}\left( v_{s} \right)} = {{LKR}_{N}^{- 1}\left( {{\frac{L_{N} - L_{k\quad \min}}{L_{\max} - L_{k\quad \min}}\left( {{{TRC}_{0}\left( v_{s} \right)} - L_{k\quad \min}} \right)} + L_{k\quad \min}} \right)}},} & (25) \end{matrix}$

[0081] and

T _(N) =BG _(N) ⁻¹(K _(N)),  (26)

[0082] where N represents C, M, Y, R, G, or B and v_(s)=min(C_(i), M_(i), Y_(i)).

[0083] Thus, a method for CMYK color printer black generation using multiple lookup tables and interpolation has been disclosed. It will be appreciated that further variations and modifications thereof may be made within the scope of the invention as defined in the appended claims 

We claim:
 1. A method of determining colorant amounts to be laid down in a color printer comprising: inputting an initial set of cyan, magenta and yellow (CMY) input values; defining a gamut center black generation curve; defining a gamut boundary black generation curve; extending a surface between the gamut center black generation curve and the gamut boundary black generation curve; calculating a final set of CMY values; interpolating a black colorant amount for the final set of CMY values on the surface.
 2. The method of claim 1 which further includes defining a second gamut boundary black generation curve and then extending a tetrahedron between the gamut center black (generation curve and the two gamut boundary black generation curves, and interpolating a black colorant amount for the final set of CMY values in the tetrahedron.
 3. The method of claim 1 which further includes defining an intermediate gamut black generation curve between the center black generation curve and the gamut boundary black generation curve, and interpolating a black colorant amount for the final set of CMY values between the center black generation curve and the intermediate black generation curve and between the intermediate black generation curve and the boundary black generation curve.
 4. The method of claim 1 which further includes interpolating the final CNIY colorant amounts from the initial CMY values, a maximum CMY ink limit constraint, and a set of boundary threshold values.
 5. The method of claim 4 which further includes generating weighted values for said interpolation of CMY and black colorant amounts.
 6. The method of claim 4 which further includes ordering the initial set of CN/tY Ivalues to determine largest, middle and smallest values of the three values, and indexing the black generation curves to determine the black values for each black generation curve as a function of the minimum of the CMY values, wherein said interpolating final output CMY colorant amounts is done as a function of the minimum of the CMY values.
 7. The method of claim 1 which further includes selecting design parameters to determine black generation curves, including: determining a center black generation curve, including: defining a key threshold, K_(max); defining a family of L v. CMY curves, including curves wherein a maximum output CMY value reaches 1.0; a maximum output CMY value reaches L_(kmin), where L_(kmin) is the minimum L value; and a maximum output CMY value reaches M_(ink), where M_(ink) is the total ink limitation; determining color boundary black generations curves to determine a color boundary threshold for boundary lines of the input color values, including: defining a tone reproduction curve at the center diagonal of the color gamut; measuring a L v. K response on a color boundary; and defining the color boundary black generation curve as a function of the tone reproduction curve and the L v. K response at the color boundary.
 8. A method of determining colorant amounts to be laid down in a color printer comprising: determining an initial set of cyan, magenta and yellow (CMY) values; selecting a gamut center black generation LUT and a gamut boundary black generations LUT from a set of black generation LUTs from a selection table; indexing the selected black generation LUTs to determine the black values for each black generation LUT; and interpolating a final black colorant amount from the black values.
 9. The method of claim 8 which further includes ordering the initial set of CMY values to determine largest, middle and smallest values of the three values and generating an ordering vector; and indexing the selected black generation LUTs to determine the black values for each black generation LUT as a function of the minimum of the CMY values;
 10. The method of claim 9 which includes interpolating the final CMY colorant amounts from the initial CMY values, the maximum CMY ink limit constraint, and a set of boundary threshold values
 11. The method of claim 10 which further includes generating weighted values for said CMY and said black interpolation.
 12. The method of claim 9 wherein said interpolating final output CMY colorant amounts is done as a function of the CMY values.
 13. The method of claim 13 which includes generating a 3-D color LUT.
 14. The method of claim 12 which includes generating a combined color LUT from the 3-D color LUT and the black generation LUT.
 15. The method of claim 8 which further includes selecting design parameters to determine black generation curves, including: determining a center black generation curve, including: defining a key threshold, K_(max); defining a family of L v. CMY curves, including curves wherein a maximum output CMY value reaches 1.0; a maximum output CMY value reaches L_(kmin), where L_(kmin) is the minimum L value; and a maximum output CMY value reaches M_(ink), where M_(ink) is the total ink limitation; determining color boundary black generations curves to determine a color boundary threshold for boundary lines of the input color values, including: defining a tone reproduction curve at the center diagonal of the color gamut; measuring a L v. K response on a color boundary; and defining the color boundary black generation curve as a function of the tone reproduction curve and the L v. K response at the color boundary.
 16. A method of determining colorant amounts to be laid down in a color printer comprising: determining an initial set of cyan, magenta and yellow (CMY) values; determining a minimum CMY colorant amount; placing a black generation LUT set in a selection table; selecting, from the selection table, a center gamut black generation LUT and two boundary black generation LUTs; and interpolating the black generation LUT set to maximize the printing gamut.
 17. The method of claim 16 wherein said selecting includes sorting the initial set of CMY values to determine the largest, middle and smallest values of the three values and generating an ordering vector.
 18. The method of claim 17 wherein said selecting further includes indexing the selected black generation LUTs to determine black values for each black generation LUT as a function of the minimum of the CMY values; interpolating a final output black colorant amount from the black values; and interpolating final output CMY colorant amounts from the initial set of CMY values.
 19. The method of claim 16 which includes generating a 3-D color LUT.
 20. The method of claim 19 which includes generating a combined color LUT from the 3-D color LUT and the black generation LUT.
 21. The method of claim 16 which further includes selecting design parameters to determine black generation curves, including: determining a center black generation curve, including: defining a key threshold, K_(max); defining a family of L v. CMY curves, including curves wherein a maximum output CMY value reaches 1.0; to a maximum output CMY value reaches L_(kmin), where L_(kmin) is the minimum L value; and a maximum output CMY value reaches M_(ink), where M_(ink) is the total ink limitation, determining color boundary black generations curves to determine a color boundary threshold for boundary lines of the input color values, including: defining a tone reproduction curve at the center diagonal of the color gamut; measuring a L v. K response on a color boundary; and defining the color boundary black generation curve as a function of the tone reproduction curve and the L v. K response at the color boundary.
 22. A method of determining colorant amounts to be laid down in a color printer comprising: inputting initial CMY values, generating vectors in descending order, (v₁, v_(m), v_(s)), v₁≧V_(m)≧v_(s), and determining ordering information V; inputting ordering information into a black generation curve selector and 1-D LUT to obtain black generation LUTs, including, selecting black generation curves including the a center diagonal curve, BG₀, and at least two black generation LUTs on boundary lines, BG₁ and BG₂, according to a boundary black generation LUT; determining the smallest of the input CMY values, v_(s), and inputting v_(s) into the black generation curve selector to index the selected black generation curves to obtain output K values at points C₀, C₁, and C₂; generating weighting factors w₁ and w₂; inputting the weighting factors into a K Interpolator to determine the final output K amount; selecting boundary thresholds T₁ and T₂ in a CMY Interpolator based on a boundary threshold table; obtaining reordered CMY output values at points, C₀, C₁ and C₂; inputting the weighting factors into a CMY Interpolator to determine the final reordered CMY amount; and converting the reordered output CMY values with ordering information V to determine output CMY values.
 23. The method of claim 22 which further includes selecting design parameters to determine black generation curves, including: determining a center black generation curve, including: defining a key threshold, K_(max); defining a family of L v. CMY curves, including curves wherein a maximum output CMY value reaches 1.0; a maximum output CMY value reaches L_(kmin), where L_(kmin) is the minimum L value; and a maximum output CMY value reaches M_(ink), where M_(ink) is the total ink limitation; determining color boundary black generations curves to determine a color boundary threshold for boundary lines of the input color values, including: defining a tone reproduction curve at the center diagonal of the color gamut; measuring a L v. K response on a color boundary; and defining the color boundary black generation curve as a function of the tone reproduction curve and the L v. K response at the color boundary. 